// vue.config.js
const vueConfig = {
  publicPath: process.env.VUE_APP_PUBLIC_PATH,
  configureWebpack: {},
  devServer: {
    // development server port 8000
    port: 21000,
    // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
    proxy: {
      '/api': {
        target: 'http://qtjyapi.hzgsredcross.org.cn',
        ws: false,
        changeOrigin: true
      }
    }
  },
  productionSourceMap: false,
  lintOnSave: false,
  transpileDependencies: []
}

module.exports = vueConfig

console.log('apiBase', process.env.VUE_APP_API_BASE_URL)
